# == Schema Information
#
# Table name: survey_fees
#
#  id         :integer          not null, primary key
#  name       :string
#  amount     :decimal(10, 2)
#  created_at :datetime         not null
#  updated_at :datetime         not null
#


class SurveyFee < ApplicationRecord

  validates :name, presence: { message: "费用名称不能为空" }
  validates :amount, presence: { message: "费用不能为空" }
  has_many :reserves

end
